﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FactoryMethod
{
    //具体工厂2：实现了厂品的生成方法
    class ConcreteFactory2 : AbstractFactory
    {
        public Product newProduct()
        {
            Console.WriteLine("具体工厂2生成-->具体产品2...");
            return new ConcreteProduct2();
        }
    }
}
